<ui:composition xmlns="http://www.w3.org/1999/xhtml"    
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	<div id="register-form">
		<div class="inside">
			<h1 class="join">#{msgs.joinnowpass}</h1>
			
			<h:form>
				<!--<h:messages globalOnly="true"/>
				<h:panelGrid columns="3">
					<h:outputLabel value="#{msgs.fullName}" for="fullName"/>							
					<h:inputText class="defaultBoxRadius" id="fullName" value="#{registerPassangerBean.fullName}" required="true"/>
					<h:message for="fullName"/>
					
					<h:outputLabel value="#{msgs.email}" for="email"/>							
					<h:inputText class="defaultBoxRadius" id="email" value="#{registerPassangerBean.email}" required="true">
						<f:validator validatorId="br.com.ezcab.validation.EmailValidator" />
					</h:inputText>
					<h:message for="email"/>
					
					<h:outputLabel value="#{msgs.phone}" for="phone"/>							
					<h:inputText class="defaultBoxRadius" id="phone" value="#{registerPassangerBean.phone}" required="true">
						<f:validator validatorId="br.com.ezcab.validation.PhoneNumberValidator" />
					</h:inputText>
					<h:message for="phone"/>
				
					<h:outputLabel value="#{msgs.userPassword}" for="userPassword"/>							
					<h:inputSecret class="defaultBoxRadius" id="userPassword" value="#{registerPassangerBean.userPassword}" required="true">
						<f:validateLength minimum="6" maximum="10"/>
					</h:inputSecret>
					<h:message for="userPassword"/>						
				
					<h:outputLabel value="#{msgs.retypeUserPassword}" for="retypeUserPassword"/>							
					<h:inputSecret class="defaultBoxRadius" id="retypeUserPassword" value="#{registerPassangerBean.retypeUserPassword}" required="true"/>
					<h:message for="retypeUserPassword"/>												
				
					<h:outputLabel value="#{msgs.birth}" for="birth"/>							
					<p:calendar id="birth" pattern="dd/MM/yyyy" value="#{registerPassangerBean.birth}" required="true"/>
					<h:message for="birth"/>																
				</h:panelGrid>
				
           		<h:outputLink value="#">
					<h:outputText value="#{msgs.termsOfService}"/>
				</h:outputLink>
				<br/>
				<h:selectBooleanCheckbox value="#{registerPassangerBean.acceptTerms}" title="#{msgs.remembermeclick}"/>
           		<h:outputText value="#{msgs.acceptTerms}"/>
				
				<h:panelGrid columns="2">
					<h:commandButton id="bt_send" value="#{msgs.send}" action="#{registerPassangerBean.registerPassanger}"/>
					<input id="bt_clean" type="reset" value="#{msgs.clear}"/>	
				</h:panelGrid>
			--></h:form>
			
		</div>
	</div>
	
</ui:composition>